package com.swt.testdemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swt.testdemo.entity.DictCountyEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author BleethNie
 * @version 1.0
 * @date 2020/11/19 11:28
 **/
@Mapper
@Repository
public interface DictCountryDao extends BaseMapper<DictCountyEntity> {


    List<DictCountyEntity> selectByProvinceId(@Param("provinceId") Integer provinceId);

    DictCountyEntity selectByFullCode(@Param("countyFullCode") String countyFullCode);
}
